package com.junjie.checkin.request.gift;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 洪浚杰
 * @description
 * @date 2025/6/16 09:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GiftRequest {
    @NotEmpty
    private String name;
    @NotNull
    @Min(0)
    private Integer point;

    @NotNull
    @Min(0)
    private Integer inventory;

    @Size(max = 255)
    private String  description;

    @Size(max = 255)
    private String  image_url;
}
